package com.himiotech.core.framework.helper.model;

import lombok.Data;

import java.io.Serializable;

/**
 * pid 数据类型简单树实体类
 *
 * @author ruoyi
 * @author wuwenbin
 */
@Data
public class SimpleDataTree<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 节点ID
     */
    private Long id;

    /**
     * 节点父ID
     */
    private Long pId;

    /**
     * 节点名称
     */
    private String name;

    /**
     * 节点标题
     */
    private String title;

    /**
     * 是否勾选
     */
    private boolean checked = false;
    private boolean selected = false;

    /**
     * 是否展开
     */
    private boolean open = false;

    /**
     * 是否能勾选
     */
    private boolean nocheck = false;

    /**
     * 原始对象
     */
    private T originObj;

}
